package com.chenfan.process.event.callback;

import com.chenfan.notify.dto.NotifyDTO;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * @author K
 * @date 2022/7/12 5:23 PM
 */
@Getter
public class NotifyEvent extends ApplicationEvent {

    private final List<NotifyDTO> notifyList;

    public NotifyEvent(List<NotifyDTO> notifyList) {
        super(notifyList);
        this.notifyList = notifyList;
    }
}
